package Chapter3;

public class Test {
    public static void main(String[] args) {
        int[] a=KMP.getNext("aaaab");
        for (int i =0;i<a.length;i++) {
            System.out.println(a[i]);
        }
    }
}
